import request from "../utils/config";

function getBrandGood(params) {
  return request({
    url: '/api/v1/brand/good/get',
    method: 'GET',
    params: {
      category_id: params
    }
  })
}

function addBrandGood(categoryId, brandId) {
  return request({
    url: '/api/v1/brand/good/add',
    method: 'GET',
    params: {
      category_id: categoryId,
      brand_id: brandId
    }
  })
}

export {
  getBrandGood,
  addBrandGood
}
